package com.zisu.springcloud.dao;

import com.zisu.springcloud.entity.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

//Dao 是和数据库打交道的
@Mapper
public interface PaymentDao {
    int save(Payment payment);
    Payment getPaymentById(@Param("id") Long id);
}
